package com.codrim.cs.data.server.dao.entity.unique.key;

import com.codrim.cs.data.server.dao.param.StatCsUniqueKey;

import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @author Liang.Zhuge on 15/08/2017.
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class StatCsAdvOfferUniqueKey extends StatCsUniqueKey {
    private String symbol;
    private Integer advertiserId;
    private Integer offerId;

    private Float singleAccessPrice;
    private Float singlePutPrice;

    /**
     * 自己公司为广告主设置的商务经理ID
     */
    private Integer advAdvertiserManagerId;
    /**
     * 自己公司为渠道设置的渠道经理ID
     */
    private Integer advAffiliateManagerId;
    private Integer advAdvertiserManagerDepartmentId;
    private Integer advAffiliateManagerDepartmentId;

    public StatCsAdvOfferUniqueKey(int sdate, String symbol, Integer advertiserId,
            Integer offerId, Integer advAdvertiserManagerId, Integer advAffiliateManagerId,
            Float singleAccessPrice, Float singlePutPrice) {
        super(sdate);
        this.symbol = symbol;
        this.advertiserId = advertiserId;
        this.offerId = offerId;
        this.advAdvertiserManagerId = advAdvertiserManagerId;
        this.advAffiliateManagerId = advAffiliateManagerId;

        this.singleAccessPrice = singleAccessPrice;
        this.singlePutPrice = singlePutPrice;
    }
}
